package com.lianxueda.drawing.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("notifications")
public class Notifications {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String title;
    private String content;

    @TableField("publish_time")
    private String publishTime;
}
